package com.shoulei.designpattern.ChainOfResponsibilityPattern;

/**
 * @ClassName:ErrorLogger
 * @Descrition:
 * @Author:shoulei
 * @Date:2019/4/14 16:43
 * @Verson:
 */
public class ErrorLogger extends AbstractLogger{
    public ErrorLogger(int level) {
        this.level = level;
    }

    @Override
    protected void write(String message) {
        System.out.println("ErrorLogger:loger:"+message);
    }
}
